package com.yuexun.dhdoctor.module.personalPlan.model;


import com.yuexun.dhdoctor.base.BaseEntity;
import com.yuexun.dhdoctor.module.personalPlan.bean.ScheduleData;

import java.util.List;
import java.util.Map;

import rx.Observable;

/**
 * Created by Administrator on 2017/4/20 0020.
 */

public interface IPlanModel {
    //新建日程
    public Observable<BaseEntity> createSchedule(Map<String, String> praise);

    //修改日程
    public Observable<BaseEntity> updateSchedule(Map<String, String> praise);

    //删除日程
    public Observable<BaseEntity> deleteSchedule(Map<String, String> praise);

    //获取日程列表
    public Observable<BaseEntity<Map<String , List<ScheduleData>>>> getScheduleList(Map<String, String> praise);
}
